package com.dearbinge.data.pojo.commodity.vo;

import com.dearbinge.data.pojo.commodityspec.vo.CommoditySpecResponseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 商品详情页vo
 *
 * @author wes
 * @date 2019/2/17
 */
@ApiModel
public class CommodityDetailsVO implements Serializable {

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("店铺上架商品数量")
    private Integer commodityNum;

    @ApiModelProperty("优惠券金额")
    private BigDecimal couponDiscountPrice;

    @ApiModelProperty("优惠券折扣")
    private Double couponDiscount;

    @ApiModelProperty("是否有优惠券 true 有优惠效果 false 没有优惠效果")
    private Boolean couponStatus;

    @ApiModelProperty("是否收藏")
    private Boolean collectStatus;

    @ApiModelProperty("收藏id")
    private Integer collectId;

    @ApiModelProperty("商品信息")
    private CommodityMessageResponseVO commodityMessageResponseVO;

    @ApiModelProperty("返回规格集")
    private List<CommoditySpecResponseVO> listSpec;

    public Double getCouponDiscount() {
        return couponDiscount;
    }

    public void setCouponDiscount(Double couponDiscount) {
        this.couponDiscount = couponDiscount;
    }

    public CommodityMessageResponseVO getCommodityMessageResponseVO() {
        return commodityMessageResponseVO;
    }

    public void setCommodityMessageResponseVO(CommodityMessageResponseVO commodityMessageResponseVO) {
        this.commodityMessageResponseVO = commodityMessageResponseVO;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getCommodityNum() {
        return commodityNum;
    }

    public void setCommodityNum(Integer commodityNum) {
        this.commodityNum = commodityNum;
    }

    public List<CommoditySpecResponseVO> getListSpec() {
        return listSpec;
    }

    public void setListSpec(List<CommoditySpecResponseVO> listSpec) {
        this.listSpec = listSpec;
    }


    public Boolean getCouponStatus() {
        return couponStatus;
    }

    public void setCouponStatus(Boolean couponStatus) {
        this.couponStatus = couponStatus;
    }

    public BigDecimal getCouponDiscountPrice() {
        return couponDiscountPrice;
    }

    public void setCouponDiscountPrice(BigDecimal couponDiscountPrice) {
        this.couponDiscountPrice = couponDiscountPrice;
    }

    public Boolean getCollectStatus() {
        return collectStatus;
    }

    public void setCollectStatus(Boolean collectStatus) {
        this.collectStatus = collectStatus;
    }

    public Integer getCollectId() {
        return collectId;
    }

    public void setCollectId(Integer collectId) {
        this.collectId = collectId;
    }

    @Override
    public String toString() {
        return "CommodityDetailsVO{" +
                "shopName='" + shopName + '\'' +
                ", commodityNum=" + commodityNum +
                ", couponDiscountPrice=" + couponDiscountPrice +
                ", couponDiscount=" + couponDiscount +
                ", couponStatus=" + couponStatus +
                ", collectStatus=" + collectStatus +
                ", collectId=" + collectId +
                ", commodityMessageResponseVO=" + commodityMessageResponseVO +
                ", listSpec=" + listSpec +
                '}';
    }
}
